package com.easy.frame.servers.sys.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * 员工-权限关联关系实体类
 * <p>
 * TODO fixed
 *
 * @author zzf
 * @date 8:46 2020/7/22
 */
@Getter
@Setter
@TableName("sys_staff_role")
@ApiModel("员工-权限关联关系实体类")
public class SysStaffRole implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "员工id", dataType = "Integer")
    private Long staffId;

    @ApiModelProperty(value = "权限id", dataType = "Integer")
    private Long roleId;

    @ApiModelProperty("创建人")
    @TableField(fill = FieldFill.INSERT)
    private Long createBy;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

}
